package com.cskaoyan.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author LiaoLong
 * @date 2021-05-09 19:08
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class StorageVO {

    private int id;
    private String key;
    private String name;
    private String type;
    private int size;
    private String url;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}
